package com.earthchen.demo.dao;

import com.earthchen.SuperMapper;
import com.earthchen.demo.domain.SysUser;

import java.util.List;

/**
 * @author earthchen
 * @date 2018/9/4
 **/
public interface SysUserDao extends SuperMapper<SysUser> {


    /**
     * 根据id查询用户角色
     *
     * @param appId
     * @return
     */
    String selectUserRoles(String appId);


    
    List<SysUser> selectUserListByRoleId(long roleId);
}
